#ifndef _ITEM_INTERFACE_H
#define _ITEM_INTERFACE_H

class DLL_EXPORT ItemInterface
{
	friend class Player;

	Player* m_owner;
	ItemInterface(Player*);
public:
	void AddItemToFreeSlot(Item* item);
	void AddItemToSlot(Item* item, ui8 slot);
	ui32 GetItemCount(ui32 itemid);
	Item* GetItemAt(ui8 slot);
	void SendChangeFailed(ui8 src, ui8 dest, ui8 error);
	void SwapItems(ui8 slot1, ui8 slot2, Item* i1, Item* i2);
};

#endif